<div >
    <div class="item item-input item-select">
        <span class="input-label">{{option.label}}<span ng-if="option.required" style="color:red">*</span>:</span>
        <select name="selectForm" ng-model="option.value"
                ng-change="change(option.value)"
                ng-required="option.required"
                ng-options="value.id as value.label for value in option.optionSource"
                >
        </select>
        <div class="validation-error" ng-class="{'is-dirty':form.password.$dirty}"
             ng-messages="form.selectForm.$error" role="alert">
            <div ng-messages-include="templates/system-templates/detail-errors.html"></div>
        </div>
    </div>

</div>
